package com.open4cn.simulator.core.ext;

import java.io.Serializable;

/**
 * @author yinxiaopeng
 * @version 1.0.0
 * @company 致景科技
 * @department 飞梭BU/研发
 * @description
 * @Email yinxiaopeng@zj.tech
 * @date 2022-05-08 19:06
 */
public class InMessage implements Serializable {

    //命令字
    private String command;

    private byte[] original;

    public InMessage(byte[] original) {
        this.original = original;
    }

    public String getCommand() {
        return command;
    }

    public void setCommand(String command) {
        this.command = command;
    }

    public byte[] getOriginal() {
        return original;
    }

    @Override
    public String toString() {
        return "InMessage{" +
                "command='" + command + '\'' +
                '}';
    }
}
